<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
  <head>
    <title>My JSP 'phone.jsp' starting page</title>
  </head>
  
  <body>
    <form action="<%=request.getContextPath() %>/FindPhoneServlet" method="post">
    	<input type="text" name="username" value="请输入您要查询的联系人">${bean.errors.username }<br/>
    	<input type="submit" value="查询"><br/>
    	这是您查询的手机号码:
    	<c:forEach var="str" items="${list1}">
    		${str }<br>
    	</c:forEach>
    	<br/>
    	<a href="<%=request.getContextPath() %>/index.jsp">点击返回主页</a>
    </form>
  </body>
</html>
